<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-10-03 14:17:19
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Models;

use App\Traits\MaterialTrait;
use App\Traits\StorageTrait;
use App\Traits\SoftDeletesTrait;


class MarketOfferPromotionsRols extends BaseModel
    {
    use SoftDeletesTrait;
    public $timestamps = true;
    public $table = "basedata_market_offer_promotions_roles";
    protected $guarded = [];
    protected $casts = [];
    /**
     * 基础报价
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     * @author sunkaiyuan
     */
    public function offer()
        {
        return $this->belongsTo(MarketOffer::class);
        }
    /**
     * 优惠报价
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     * @author sunkaiyuan
     */
    public function promotions()
        {
        return $this->belongsTo(MarketOfferPromotions::class);
        }


    }
